<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/base/taglibs.jsp"%>
<%@include file="/WEB-INF/jsp/base/head.jsp"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>增加属性</title>
</head>
<body>
<div class="center_main"></div>
  <div id="page-top">
  	<span>增加属性</span>
  	<b></b><i></i>
  </div>
  
    <div id="page">

       <s:form action="propertyAction!propertyAdd.do" namespace="/property" name="form1" method="post" >
           <div class="edit-wapper">
		       <label class="lab">属性名称：</label>
		       <input type="text" name="propertyBizBean.propertyKey" class="inputText" maxlength="50" value="${propertyBizBean.propertyKey }" style="width: 300px" />
		       <label class="error" >*&nbsp;&nbsp;<s:property value="%{errors['propertyKey'][0]}"/></label>
	       </div>
	       <div class="edit-wapper" <s:if test="%{codeType==2}">style="display:none"</s:if> id="codeNameId">
	       		<label class="lab">属性值：</label>
	       		<input type="text" name="propertyBizBean.propertyValue" class="inputText" maxlength="250" value="${propertyBizBean.propertyValue}" style="width: 300px" />
	       		<label class="error" >*&nbsp;&nbsp;<s:property value="%{errors['propertyValue'][0]}"/></label>
	       </div>
	       
	        <div class="edit-wapper">
	        	<label class="lab">备注：</label>
	        	<textarea style="width: 300px" name="propertyBizBean.remark" class="inputText" onkeyup="return isMaxLen(this)" maxlength="250" >${propertyBizBean.remark}</textarea>
	        	<label class="error" >*&nbsp;&nbsp;<s:property value="%{errors['remark'][0]}"/></label>
	        </div>
	       
           <div class="btn-wapper">
           	   <s:submit cssClass="form-btn" value="保存" id="btnEnter"/>
           	   <s:submit cssClass="form-btn" value="返回" action="propertyAction!getPropertyList"></s:submit>
	       </div>
       </s:form>
       
    </div>
    <div id="page-bottom">
     <b></b><i></i>
    </div> 
</body>
</html>